package 装饰者模式.人穿衣服;

/**
 * 需求：
 * 为每个不同的人穿不同的衣服
 */
public class Business {

    public static void main(String[] args) {
        NameDecorator nameDecorator = new NameDecorator("O(∩_∩)O哈哈~");
        DtxDecorator dtxDecorator = new DtxDecorator(nameDecorator);
        PdkDecorator pdkDecorator = new PdkDecorator(dtxDecorator);
        pdkDecorator.operator();
    }

}
